﻿namespace VkontakteSharp.Model
{
    /// <summary>
    /// audio – аудиозапись
    /// </summary>
    public class Audio : Attachment
    {
        [JsonMapping("aid", JsonMapping.MappingType.Primitive)]
        public long Id { get; set; }
        [JsonMapping("owner_id", JsonMapping.MappingType.Primitive)]
        public long OwnerId { get; set; }
        [JsonMapping("artist", JsonMapping.MappingType.Primitive)]
        public string Artist { get; set; }
        [JsonMapping("title", JsonMapping.MappingType.Primitive)]
        public string Title { get; set; }
        [JsonMapping("duration", JsonMapping.MappingType.Primitive)]
        public int Duration { get; set; }
        [JsonMapping("url", JsonMapping.MappingType.Primitive)]
        public string Url { get; set; }
        [JsonMapping("lyrics_id", JsonMapping.MappingType.Primitive)]
        public long LyricsId { get; set; }
        [JsonMapping("album", JsonMapping.MappingType.Primitive)]
        public long AlbumId { get; set; }
        [JsonMapping("performer", JsonMapping.MappingType.Primitive)]
        public string Performer { get; set; }
    }
}
